#include <bits/stdc++.h>
using namespace std;

int main()
{
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);

    int n;
    vector<int> v;
    cin >> n;
    int a[n];

    for (int i=0; i<n; i++)
        cin >> a[i];

    sort(a, a+n);
    int max1=0;
    int tmp = 1;

    for (int i=0; i<n-1; i++)
    {
        if (a[i] == a[i+1])tmp++;
        else
        {
            if (tmp> max1)
            {
                max1 = tmp;
            }
            tmp = 1;
        }
    }
    if (tmp > max1)
    {
        max1 = tmp;
    }
    cout << max1;

    fclose(stdin);
    fclose(stdout);
    return 0;
}
